import json

#反序列化
json_str = '[{"k1":"v1","k2":"v2"},{"k1":"v1","k2":"v2"},{"k1":"v1","k2":false}]'
#注意json规范
stu = json.loads(json_str)
print(type(stu),stu)

#序列化
json_obj = [{'k1': 'v1', 'k2': 'v2'}, {'k1': 'v1', 'k2': 'v2'}, {'k1': 'v1', 'k2': False}]
print(json.dumps(json_obj))
